<div id="sidebar" class="sidebar responsive display1 ">
				<script type="text/javascript">
				try{ace.settings.loadState('sidebar')}catch(e){}
				</script>

				<div class="sidebar-shortcuts" id="sidebar-shortcuts">
					<div class="shortcuts sidebar-shortcuts-large  " id="sidebar-shortcuts-large">
						<%if(menusize<=1){%>
						<%}else{%>
						      <%for(entry in menu){
								var key = entry.key,product = entry.value;
							  %>
								<button class="model btn ${key.bgStyle} btn_module${key.id}" val="module${key.id}" icon="${key.bgStyle}" title="${key.name}">
									<i class="ace-icon fa ${key.iconStyle}"></i>
								</button>
							  <%}%>
						<%}%>
					</div>

					<div class="shortcuts sidebar-shortcuts-mini " id="sidebar-shortcuts-mini">
						<%if(menusize<=1){%>
						<%}else{%>
						      <%for(entry in menu){
								var key = entry.key,product = entry.value;
							  %>
								<span class="btn ${key.bgStyle} btn_module${key.id}" val="module${key.id}" icon="${key.bgStyle}" title="${key.name}"></span>
							  <%}%>
						<%}%>
					</div>
				</div><!-- /.sidebar-shortcuts -->
				<a><span id="newMenuPage"></span></a><a target="_blank"><span id="newMenuBlankPage"></span></a>
				<ul id="leftMenu" menu="mypanel" class="leftMenu mypanel nav nav-list" >
						<li class="" id="menuli0">
							<a href="javascript:void(0)" data-num="0" data-reload="true" url="${ctx}/home/index?${session._para}">
								<i class="menu-icon fa fa-tachometer"></i>
								<span class="menu-text">主面板</span>
							</a>
							<b class="arrow"></b>
						</li>
						<%if(menusize<=1){%>
							<%for(entry in menu){
								var key = entry.key,product = entry.value;
							%>
								<%for(m in product){%>
									<%if(shiro.hasPermission('${m.permission}')){%>
									<li menu="module" id="menuli${m.id}" class="module topmenu">
										<a  href="javascript:void(0)" class="dropdown-toggle">
											<i class="menu-icon fa ${m.iconStyle!'fa-desktop'}"></i>
											<span class="menu-text">${m.name}</span>
											<b class="arrow fa fa-angle-down"></b>
										</a>
										<b class="arrow"></b>
										<ul class="submenu">
										<%for(c in m.children){%>
										    <%if(shiro.hasPermission('${c.permission}')){%>
											<li class="">
												<a href="javascript:void(0)" data-target="${c.type}" data-reload="${c.reload}" data-scroll="${c.scrollType}" data-num="0" 
												<%if(!isEmpty(c.url)){%>
												url="${ctx}/${c.url}?${session._para}"
												<%}%>
												>
													<i class="menu-icon fa ${c.iconStyle!'fa-list'}"></i>
													 <span class="menu-text">${c.name}</span>
												</a>
												<b class="arrow"></b>
											</li>
											<%}%>
										<%}%>
										</ul>
									</li>
									<%}%>
								<%}%>
							<%}%>
						<%}else{%>
						    <%for(entry in menu){
								var key = entry.key,product = entry.value;
							%>
								<%for(m in product){%>
									<%if(shiro.hasPermission('${m.permission}')){%>
									<li menu="module${key.id}"  id="menuli${m.id}"  class="module${key.id} hide topmenu">
										<a  href="javascript:void(0)" class="dropdown-toggle">
											<i class="menu-icon fa ${m.iconStyle!'fa-desktop'}"></i>
											<span class="menu-text">${m.name}</span>
											<b class="arrow fa fa-angle-down"></b>
										</a>
										<b class="arrow"></b>
										<ul class="submenu">
										<%for(c in m.children){%>
											<%if(shiro.hasPermission('${c.permission}')){%>
											<li class="">
												<a href="javascript:void(0)" data-target="${c.type}" data-reload="${c.reload}" data-scroll="${c.scrollType}" data-num="0" 
												<%if(!isEmpty(c.url)){%>
												url="${ctx}/${c.url}?${session._para}"
												<%}%>
												>
													<i class="menu-icon fa ${c.iconStyle!'fa-list'}"></i>
													 <span class="menu-text">${c.name}</span>
												</a>
												<b class="arrow"></b>
											</li>
										    <%}%>
										<%}%>
										</ul>
									</li>
									<%}%>
								<%}%>
							<%}%>
						<%}%>
				</ul> 
				
				<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
					<i class="ace-icon fa fa-angle-double-left ace-save-state" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
				</div>
			</div>